﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="FirmaTanitim.aspx.cs" Inherits="Admin_FirmaTanitim" %>

<%@ Register Assembly="CrmControls" Namespace="CrmControls" TagPrefix="cc1" %>
<%--<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc2" %>--%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Veyron Crm</title>

    <script type="text/javascript">
    function SilKontrol()
    {
    var txt1idver=document.getElementById('txtfrm_kod');
    if(txt1idver.value!="")
    {
    return true;
    }
    else
    {
    alert("Lütfen Silmek İstediğiniz Firma Kodu Girin!..");
    return false;
    }
    }
   function Kontrol()
    {
        var txt1idver=document.getElementById('txtfrm_kod');
        if(txt1idver.value!="")
        {
            return true;
        }
        else
        {
            alert('Firma Kodu Alanını Boş Geçemezsiniz !');
            return false;
        }
   }
    
   function PageClose()
   {
    window.close();
    window.opener.location='../DataList.aspx?type=Firma'; 
   }
   function Refresh()
   {
    window.opener.location='../DataList.aspx?type=Firma'; 
   }
    </script>

</head>
<body>
    <form id="form1" runat="server">
    <div id="ToolBar">
        <table>
            <tr>
                <td>
                    <asp:ImageButton runat="server" ID="imgbtnKaydet" AlternateText="Kaydet" ImageUrl="~/images/page/save.gif"
                        OnClick="imgbtnKaydet_Click" />
                </td>
                <td>
                    <asp:ImageButton runat="server" ID="imgbtnKaydetKapat" AlternateText="Kaydet ve Kapat"
                        ImageUrl="~/images/page/saveClose.gif" OnClick="imgbtnKaydetKapat_Click" />
                </td>
                <td>
                    <asp:ImageButton runat="server" ID="imgbtnSil" AlternateText="Sil" ImageUrl="~/images/page/remove.gif"
                        OnClick="imgbtnSil_Click" />
                </td>
                  <td>
                    <asp:ImageButton ID="imgNewREcord" AlternateText="Yeni Kayıt" runat="server" ImageUrl="~/images/page/newrecord.gif"
                        OnClick="imgNewREcord_Click" Style="width: 16px" />
                </td>
            </tr>
        </table>
    </div>
    <div>
        <table style="width: 300px">
            <asp:Panel runat="server" ID="pnlControls">
                <tr>
                    <td>
                        <cc1:CrmLabel runat="server" ID="lblfrm_kod" Text="Firma Kod"></cc1:CrmLabel>
                    </td>
                    <td>
                    </td>
                    <td>
                        <cc1:CrmTextBox runat="server" ID="txtfrm_kod" Maxlength="15" KontrolTipi="Multi"
                            BuyukHarf="Multi"></cc1:CrmTextBox>
                    </td>
                </tr>
                <tr>
                    <td>
                        <cc1:CrmLabel runat="server" ID="lblfrm_faaliyet" Text="Firma Faaliyet"></cc1:CrmLabel>
                    </td>
                    <td>
                    </td>
                    <td>
                        <cc1:CrmTextBox runat="server" ID="txtfrmFaaliyet" Maxlength="50" KontrolTipi="Multi"
                            BuyukHarf="Multi"></cc1:CrmTextBox>
                    </td>
                </tr>
                <tr>
                    <td>
                        <cc1:CrmLabel runat="server" ID="lblfrm_adi" Text="Firma Adı"></cc1:CrmLabel>
                    </td>
                    <td>
                    </td>
                    <td>
                        <cc1:CrmTextBox runat="server" ID="txtfrmAdi" Maxlength="100" KontrolTipi="Multi"
                            BuyukHarf="Multi"></cc1:CrmTextBox>
                    </td>
                </tr>
                <tr>
                    <td>
                        <cc1:CrmLabel runat="server" ID="lblfrm_yil" Text="Firma Yıl"></cc1:CrmLabel>
                    </td>
                    <td>
                    </td>
                    <td>
                        <cc1:CrmDropDown runat="server" ID="drpfrmYil" Width="120px">
                            <asp:ListItem Text="2005" Value="0"></asp:ListItem>
                            <asp:ListItem Text="2006" Value="1"></asp:ListItem>
                            <asp:ListItem Text="2007" Value="2"></asp:ListItem>
                            <asp:ListItem Text="2008" Value="3"></asp:ListItem>
                            <asp:ListItem Text="2009" Value="4"></asp:ListItem>
                            <asp:ListItem Text="2010" Value="5"></asp:ListItem>
                            <asp:ListItem Text="2011" Value="6"></asp:ListItem>
                            <asp:ListItem Text="2012" Value="7"></asp:ListItem>
                            <asp:ListItem Text="2013" Value="8"></asp:ListItem>
                            <asp:ListItem Text="2014" Value="9"></asp:ListItem>
                            <asp:ListItem Text="2015" Value="10"></asp:ListItem>
                            <asp:ListItem Text="2016" Value="11"></asp:ListItem>
                            <asp:ListItem Text="2017" Value="12"></asp:ListItem>
                            <asp:ListItem Text="2018" Value="13"></asp:ListItem>
                            <asp:ListItem Text="2019" Value="14"></asp:ListItem>
                            <asp:ListItem Text="2020" Value="15"></asp:ListItem>
                        </cc1:CrmDropDown>
                    </td>
                </tr>
                <tr>
                    <td>
                        <cc1:CrmLabel runat="server" ID="lblfrm_vergi_adi" Text="Vergi Adı"></cc1:CrmLabel>
                    </td>
                    <td>
                    </td>
                    <td>
                        <cc1:CrmTextBox runat="server" ID="txtfrmVergiAdi" Maxlength="25" KontrolTipi="Multi"
                            BuyukHarf="Multi"></cc1:CrmTextBox>
                    </td>
                </tr>
                <tr>
                    <td>
                        <cc1:CrmLabel runat="server" ID="lblfrm_vergi_no" Text="Vergi No"></cc1:CrmLabel>
                    </td>
                    <td>
                    </td>
                    <td>
                        <cc1:CrmTextBox runat="server" ID="txtVergiNO" KontrolTipi="Sayi" BuyukHarf="Multi"></cc1:CrmTextBox>
                    </td>
                </tr>
                <tr>
                    <td>
                        <cc1:CrmLabel runat="server" ID="lblfrm_yetkili" Text="Yetkili"></cc1:CrmLabel>
                    </td>
                    <td>
                    </td>
                    <td>
                        <cc1:CrmTextBox runat="server" ID="txtYetkili" Maxlength="25" KontrolTipi="Multi"
                            BuyukHarf="Multi"></cc1:CrmTextBox>
                    </td>
                </tr>
                <tr>
                    <td>
                        <cc1:CrmLabel runat="server" ID="lblfrm_tel" Text="Telefon"></cc1:CrmLabel>
                    </td>
                    <td>
                    </td>
                    <td>
                        <cc1:CrmTextBox runat="server" ID="txtTel" KontrolTipi="Sayi" BuyukHarf="Multi"></cc1:CrmTextBox>
                    </td>
                </tr>
                <tr>
                    <td>
                        <cc1:CrmLabel runat="server" ID="lblfrm_fax" Text="Fax"></cc1:CrmLabel>
                    </td>
                    <td>
                    </td>
                    <td>
                        <cc1:CrmTextBox runat="server" ID="txtFax" KontrolTipi="Sayi" BuyukHarf="Multi"></cc1:CrmTextBox>
                    </td>
                </tr>
                <tr>
                    <td>
                        <cc1:CrmLabel runat="server" ID="lblfrm_email" Text="E_Mail"></cc1:CrmLabel>
                    </td>
                    <td>
                    </td>
                    <td>
                        <cc1:CrmTextBox runat="server" ID="txtEmail" Maxlength="25" KontrolTipi="Multi" BuyukHarf="Multi"></cc1:CrmTextBox>
                    </td>
                </tr>
                <tr>
                    <td>
                        <cc1:CrmLabel runat="server" ID="lblfrm_web" Text="Web Adres"></cc1:CrmLabel>
                    </td>
                    <td>
                    </td>
                    <td>
                        <cc1:CrmTextBox runat="server" ID="txtWebAdres" Maxlength="50" KontrolTipi="Multi"
                            BuyukHarf="Multi"></cc1:CrmTextBox>
                    </td>
                </tr>
                <tr>
                    <td>
                        <cc1:CrmLabel runat="server" ID="lblfrm_sicil_no" Text="Sicil No"></cc1:CrmLabel>
                    </td>
                    <td>
                    </td>
                    <td>
                        <cc1:CrmTextBox runat="server" ID="txtSicilNo" KontrolTipi="Sayi" BuyukHarf="Multi"></cc1:CrmTextBox>
                    </td>
                </tr>
                <tr>
                    <td>
                        <cc1:CrmLabel runat="server" ID="lblfrm_adres" Text="Adres"></cc1:CrmLabel>
                    </td>
                    <td>
                    </td>
                    <td>
                        <cc1:CrmTextBox runat="server" ID="txtAdres" KontrolTipi="Multi" Maxlength="50" Width="180px"
                            Height="35px" TextMode="MultiLine" BuyukHarf="Multi"></cc1:CrmTextBox>
                    </td>
                </tr>
            </asp:Panel>
        </table>
    </div>
    </form>
</body>
</html>
